home *** CD-ROM | disk | FTP | other *** search
- # Alternet PPP login script
- # Copyright 1995 Quarterdeck Corporation
- # 5-9-95 BPD
-
- STRING username
- STRING password
-
- SetTimeOut 90
- CfgGetValue "Username" username
-
- IF result = 0 THEN
- GetInput "Enter your username:" username
- IF result = 0 THEN
- PRINT "Warning, no username entered."
- ELSE
- PRINT "Username set to:"; username
- ENDIF
- ENDIF
-
- CfgGetValue "Password" password
-
- IF result = 0 THEN
- GetPassword "Enter your password:" password
- IF result = 0 THEN
- PRINT "Warning, no password entered."
- ELSE
- PRINT "Password set."
- ENDIF
- ENDIF
-
- CommWaitFor "login:"
- CommSend username
- CommSend "%r"
-
- CommWaitFor "password:"
- CommSend password
- CommSend "%r"
-
- END
-